<?php
namespace app\model;
use think\admin\Model;

use think\model\relation\HasMany;

/**
 * 老师
 * @class ClassPlan
 * @package app\model
 */
class Company extends Model
{
    protected $table = "hjz_company";

    public function cate(){
        return $this->belongsTo(Category::class,'parent_id');
    }
}